ChildItem
fun <T> ChildItem(id: T, title: String, icon: ImageVector?, contentColor: Color, onClick: (T) -> Unit)
Represents a child item of the menu.
Parameters
id
The ID of the child item.
title
The title of the child item.
icon
The icon for the child item.
contentColor
The color of the content.
onClick
Callback for when the child item is clicked.